package com.stu.manager.studentscoremanagersys.service;

import com.stu.manager.studentscoremanagersys.pojo.Student;
import com.baomidou.mybatisplus.extension.service.IService;
import com.stu.manager.studentscoremanagersys.req.ComonListRequest;
import com.stu.manager.studentscoremanagersys.req.ReqStudentAdd;
import com.stu.manager.studentscoremanagersys.req.ReqStudentUpdate;
import com.stu.manager.studentscoremanagersys.res.Result;

import java.util.List;

/**
* @author 86135
* @description 针对表【student】的数据库操作Service
* @createDate 2022-11-03 19:26:27
*/
public interface StudentService extends IService<Student> {

    void add(ReqStudentAdd reqStudentAdd);

    Result<List<Student>> selectPage(ComonListRequest commonVo);

    void deleteById(Long id);

    Result selectById(Long id);

    Result<Student> updateById(ReqStudentUpdate update);

    Result<List<Student>> selectAll();
}
